package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.UserCommemorateCreateValidate;
import com.mdd.admin.validate.UserCommemorateUpdateValidate;
import com.mdd.admin.validate.UserCommemorateSearchValidate;
import com.mdd.admin.vo.UserCommemorateListedVo;
import com.mdd.admin.vo.UserCommemorateDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 纪念日提醒服务接口类
 * @author DEREK
 */
public interface IUserCommemorateService {

    /**
     * 纪念日提醒列表
     *
     * @author DEREK
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<UserCommemorateListedVo>
     */
    PageResult<UserCommemorateListedVo> list(PageValidate pageValidate, UserCommemorateSearchValidate searchValidate);

    /**
     * 纪念日提醒详情
     *
     * @author DEREK
     * @param id 主键ID
     * @return UserCommemorateDetailVo
     */
    UserCommemorateDetailVo detail(Integer id);

    /**
     * 纪念日提醒新增
     *
     * @author DEREK
     * @param createValidate 参数
     */
    void add(UserCommemorateCreateValidate createValidate);

    /**
     * 纪念日提醒编辑
     *
     * @author DEREK
     * @param updateValidate 参数
     */
    void edit(UserCommemorateUpdateValidate updateValidate);

    /**
     * 纪念日提醒删除
     *
     * @author DEREK
     * @param id 主键ID
     */
    void del(Integer id);

}
